package com.extend_.ExtendsDetail;

/**
 * @Author 小闽
 * @Date 2024/8/9 10:45
 * @PackageName: com.extend_.ExtendsDetail
 * @ClassName: ExtendsTest01
 * @Description: 继承测试
 * @Version 1.0
 */
public class ExtendsTest01 {
    public static void main(String[] args) {
        System.out.println("=======第一个对象========");
        Sub sub = new Sub();
        sub.say();
        sub.test100();
        sub.test200();
        sub.test300();
        sub.callTest400();
        System.out.println("=========第二个对象=========");
        Sub sub1 = new Sub("jack");


    }
}
